package com.gxks.lhs.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gxks.lhs.entity.Imgs;
import com.gxks.lhs.mapper.ImgsMapper;
import com.gxks.lhs.service.IImgsService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 图片存放地址表 服务实现类
 * </p>
 *
 * @author LuoHaisong
 * @since 2023-05-29
 */
@Service
public class ImgsServiceImpl extends ServiceImpl<ImgsMapper, Imgs> implements IImgsService {
    @Override
    public boolean addGoodsImgs(List<Imgs> goodsImgs) {
        return saveBatch(goodsImgs);
    }

    @Override
    public boolean addEvaluateImgs(List<Imgs> evaluateImgs) {
        return saveBatch(evaluateImgs);
    }

    @Override
    public boolean addReportImgs(List<Imgs> reportImgs) {
        return saveBatch(reportImgs);
    }
}
